<!--
Name: test_case_details_view_edit.tpl.html
Author: Philip D. Nichols (philipdnichols@gmail.com)
Description: Test Case details view page for Artemis CS411 Project 1.
Last Modified: 10/20/2008
-->

<br />

<form action="edit.php" method="post" name="form">

<input name="type" type="hidden" value="test_case" />
<input name="action" type="hidden" value="delete" />
<input name="id" type="hidden" value="{TEST_CASE_ID}" />

<table width="600px" cellpadding="2" cellspacing="2" border="0" align="center">
	<tr>
    	<td colspan="3" align="center" class="table_title">Test Case #{TEST_CASE_ID} Details
        </td>
    </tr>
</table>

<br />

<table cellpadding="2" cellspacing="0" border="0" align="center" class="main_table" id="main_table">
  	<tr>
   		<td class="table_element_titles">ID
    	</td>
        
        <td class="table_cells" width="350px">{TEST_CASE_ID}
        </td>
    </tr>
    
    <tr>
        <td class="table_element_titles">Short Description
        </td>
        
        <td class="table_cells">{TEST_CASE_SHORT_DESCRIPTION}
        </td>
    </tr>
        
    <tr>
        <td class="table_element_titles">Details
        </td>
        
        <td class="table_cells">{TEST_CASE_DETAILS}
        </td>
    </tr>
    
    <tr>
        <td class="table_element_titles">Requirements References
        </td>
        
        <td class="table_cells"><!-- BEGIN requirements --> <a href="requirement_details.php?id={REQUIREMENT_ID}">{REQUIREMENT_ID}</a> <!-- END requirements -->
        </td>
  	</tr>
</table>

<br />

<table width="250px" cellpadding="2" cellspacing="2" border="0" align="center">
    <tr>
    	<td align="center"><input name="edit_fields" type="button" value="Edit Fields" onclick="javascript:location.href='test_case_details.php?action=edit&id={TEST_CASE_ID}';"
        onMouseOver="javascript:window.status='Edit Fields';" onMouseOut="javascript:window.status='';" />
        </td>
        
        <td align="center"><input name="delete_test_case" type="submit" value="Delete Test Case"
        onMouseOver="javascript:window.status='Delete Test Case';" onMouseOut="javascript:window.status='';" />
        </td>
    </tr>
</table>

<br />

<table width="250px" cellpadding="2" cellspacing="2" border="0" align="center">
	<tr>
    	<td align="center"><a href="test_cases.php">Return to Test Cases</a>
        </td>
    </tr>
    
    <tr>
    	<td align="center"><a href="requirements.php">Project Requirements</a>
        </td>
    </tr>
</table>

</form>